<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Interface Support Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.2 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Server Programming Interface"
HREF="spi.html"><LINK
REL="PREVIOUS"
TITLE="SPI_saveplan"
HREF="spi-spi-saveplan.html"><LINK
REL="NEXT"
TITLE="SPI_fname"
HREF="spi-spi-fname.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2011-12-01T22:07:59"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.1.2 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="SPI_saveplan"
HREF="spi-spi-saveplan.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="spi.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Chapter 43. Server Programming Interface</TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="SPI_fname"
HREF="spi-spi-fname.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="SPI-INTERFACE-SUPPORT"
>43.2. Interface Support Functions</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="spi-spi-fname.html"
>SPI_fname</A
>&nbsp;--&nbsp;determine the column name for the specified column number</DT
><DT
><A
HREF="spi-spi-fnumber.html"
>SPI_fnumber</A
>&nbsp;--&nbsp;determine the column number for the specified column name</DT
><DT
><A
HREF="spi-spi-getvalue.html"
>SPI_getvalue</A
>&nbsp;--&nbsp;return the string value of the specified column</DT
><DT
><A
HREF="spi-spi-getbinval.html"
>SPI_getbinval</A
>&nbsp;--&nbsp;return the binary value of the specified column</DT
><DT
><A
HREF="spi-spi-gettype.html"
>SPI_gettype</A
>&nbsp;--&nbsp;return the data type name of the specified column</DT
><DT
><A
HREF="spi-spi-gettypeid.html"
>SPI_gettypeid</A
>&nbsp;--&nbsp;return the data type <ACRONYM
CLASS="ACRONYM"
>OID</ACRONYM
> of the specified column</DT
><DT
><A
HREF="spi-spi-getrelname.html"
>SPI_getrelname</A
>&nbsp;--&nbsp;return the name of the specified relation</DT
><DT
><A
HREF="spi-spi-getnspname.html"
>SPI_getnspname</A
>&nbsp;--&nbsp;return the namespace of the specified relation</DT
></DL
></DIV
><P
>  The functions described here provide an interface for extracting
  information from result sets returned by <CODE
CLASS="FUNCTION"
>SPI_execute</CODE
> and
  other SPI functions.
 </P
><P
>  All functions described in this section can be used by both
  connected and unconnected procedures.
 </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="spi-spi-saveplan.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="spi-spi-fname.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>SPI_saveplan</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="spi.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>SPI_fname</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>